package com.castle.fortress.admin.oa.mapper;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.oa.entity.HolidayTypeEntity;
import java.util.Map;
import java.util.List;
/**
 * 假期类型Mapper 接口
 *
 * @author whc
 * @since 2022-11-03
 */
public interface HolidayTypeMapper extends BaseMapper<HolidayTypeEntity> {

    /**
    * 扩展信息列表
    * @param pageMap
    * @param holidayTypeEntity
    * @return
    */
    List<HolidayTypeEntity> extendsList(@Param("map")Map<String, Long> pageMap, @Param("holidayTypeEntity") HolidayTypeEntity holidayTypeEntity);

    /**
    * 扩展信息记录总数
    * @param holidayTypeEntity
    * @return
    */
    Long extendsCount(@Param("holidayTypeEntity") HolidayTypeEntity holidayTypeEntity);

    /**
    * 假期类型扩展详情
    * @param id 假期类型id
    * @return
    */
    HolidayTypeEntity getByIdExtends(@Param("id")Long id);



}
